package com.tudouji.project.customer.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 客户余额对象 customer_balance
 * 
 * @author tudouji
 * @date 2023-11-03
 */
@Data
public class CustomerBalance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 客户guid */
//    @Excel(name = "客户guid")
    private String customerGuid;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String name;
    /** 客户金蝶编码 */
    @Excel(name = "客户金蝶编码")
    private String kingdeenum;
    /** 业务日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "业务日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date businessDate;
    private Date businessDateStart;
    private Date businessDateEnd;

    /** 预收款余额 */
    @Excel(name = "预收款余额")
    private BigDecimal prebalance;
    /** 应收订单余额 */
    @Excel(name = "应收账单余额")
    private BigDecimal recbalance;
    @Excel(name = "应收款余额")
    private BigDecimal recbalanceZK;
    /** 预收款初始余额 */
    @Excel(name = "初始应收余额")
    private BigDecimal recbalanceManul;

    private String prebalanceCompare;
    private String recbalanceZKCompare;




}
